	<script type="text/javascript" src="<{$smarty.const._CDN_}>/upload/zx/js/jquery/jquery-1.6.2.min.js"></script>
	<script type="text/javascript" src="<{$smarty.const._CDN_}>/upload/zx/js/function.js"></script>
	<script type="text/javascript" src="<{$smarty.const._CDN_}>/upload/zx/js/ihome.js"></script>
	<script type="text/javascript" src="<{$smarty.const._CDN_}>/upload/zx/js/front.js"></script>
	<script type="text/javascript" src="<{$smarty.const._CDN_}>/upload/zx/js/passport.js?20150316"></script>
	<script type="text/javascript" src="<{$smarty.const._CDN_}>/upload/zx/js/search.js"></script>
	<script type="text/javascript" src="<{$smarty.const._CDN_}>/upload/zx/js/utility.js"></script>

	<script type="text/javascript">
	// global variables  && passport
	var current_user_id = <{if isset($user_info)}><{$user_info.uid}><{else}>0<{/if}>;
	var current_merchant_id = <{if isset($user_info) && $user_info.utype == 'merchant' }><{$user_info.uid}><{else}>0<{/if}>;
	var passportMgr     = null;
	var passport        = null;
	var callback_url    = null;
	$(document).ready(function ()
		{
			passportMgr = new PassportLayer();
			passport    = new Passport();
			callback_url= '<{php}>echo 'http://' . site::domain() . '/passport/login_callback';<{/php}>';
		});

    // 导航
	$(function(){
		$(".commandbar1 .wdsc").hover(function(){
			
			$(this).find(".list0").addClass("active");
			$(this).find(".drop_list").show();
			
		},function(){
			
			$(this).find(".list0").removeClass("active");
			$(this).find(".drop_list").hide();
			
		})
	})

	</script>
